package org.example.server.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.dto.OrderDTO;
import org.example.dto.RegisterDetailDTO;
import org.example.dto.RegisterListDTO;
import org.example.entity.Register;

import java.util.List;

@Mapper
public interface RegisterMapper {


    void updateById(Register register);

    void insert(Register register);

//    Register selectById(Integer id);

    void updateBy(Register register);

    Register selectByRegisterId(OrderDTO orderDTO);

    List<Register> selectByPatientId(RegisterListDTO registerListDTO);

    Register selectByRegisterDetail(RegisterDetailDTO registerDetailDTO);
}
